<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class ProposalDefense extends Model
{
    protected $fillable = [
        'proposal_id',
        'record',
        'score',
        'feedback',
    ];

    protected $casts = [
        'score' => 'decimal:2',
    ];

    public function proposalReport()
    {
        return $this->belongsTo(ProposalReport::class, 'proposal_id');
    }
} 